package org.jeecg.modules.fk.mapper.manual.dao;

import org.jeecg.modules.fk.mapper.auto.model.RiskProcessList;
import org.jeecg.modules.fk.mapper.manual.model.riskprocesslist.MonthRiskReportListRespDTO;
import org.jeecg.modules.fk.mapper.manual.model.riskprocesslist.QuarterRiskReportListRespDTO;
import org.jeecg.modules.fk.mapper.manual.model.riskprocesslist.RiskReportListRespExtDTO;
import org.jeecg.modules.fk.mapper.manual.model.riskprocesslist.YearRiskReportListRespDTO;
import org.jeecg.modules.fk.mapper.manual.model.RiskReportListExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RiskProcessListExtMapper {

    List<RiskProcessList> getRiskProcessRecord(@Param("ywdlDm") String ywdlDm, @Param("nsrsbh") String nsrsbh, @Param("skssqqs") List<String> skssqqs, @Param("skssqzs") List<String> skssqzs);

    RiskProcessList getLastRiskProcessRecord(@Param("ywdlDm") String ywdlDm, @Param("nsrsbh") String nsrsbh, @Param("skssqq") String skssqq, @Param("skssqz") String skssqz);

    RiskProcessList getLastSkssqRiskProcessRecord(@Param("ywdlDm") String ywdlDm, @Param("nsrsbh") String nsrsbh);

    List<MonthRiskReportListRespDTO> getMonthRiskReportList(RiskReportListExt request);

    List<QuarterRiskReportListRespDTO> getQuarterRiskReportList(RiskReportListExt request);

    List<YearRiskReportListRespDTO> getYearRiskReportList(RiskReportListExt request);

    List<RiskReportListRespExtDTO> getCwbbRiskReportList(RiskReportListExt request);

    List<RiskReportListRespExtDTO> getRiskReportListExt(RiskReportListExt request);

    /**
     * 获取月度和季度风险报告列表
     *
     * @param request 请求对象
     *
     * @return 风险报告列表扩展DTO对象列表
     */
    List<RiskReportListRespExtDTO> getMonthAndQuarterRiskReportList(RiskReportListExt request);

}
